<?php
//
require 'config/cfTrabalhos.php';
$cf = new cfTrabalhos();
//echo ($cf->dateToBR("15-07-1979"));
//        echo "<br>";
//echo ($cf->dateToUS("15/07/1979"));

require_once 'db/dbConnection.php';
$c=new dbConnection();
//
//echo $c->RunQuery ("INSERT INTO `teste` (
//
//`descricao`
//)
//VALUES (
//'Terceiro'
//)");
//echo ":)";
echo "USA:".($cf->dateTimeToUS("15/07/1979 23:33:22"));
echo "<br>";
echo "Brasil:".($cf->dateTimeToBR("1979-07-15 23:33:22"));

//
//$data="15/07/1979";
//
//$e= explode("/", $data);
//
//echo ("$e[0]"."$e[1]"."$e[2]");
//echo"<br>";
//print_r($e);

